package com.ljx.itbbs.server.mall.domain.vo.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-03-29  19:36
 */
@Data
public class CouponAdminResp {

    @ApiModelProperty("优惠券ID")
    private Long id;

    @ApiModelProperty("优惠券名称")
    private String name;

    @ApiModelProperty("优惠券额度")
    private Integer money;

    @ApiModelProperty("库存")
    private Integer stock;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty("有效期开始时间")
    private Date beginTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty("有效期结束时间")
    private Date endTime;

    @ApiModelProperty("状态")
    private Integer status;
}
